package com.qs.mapper;

import com.qs.pojo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 普通用户表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2023-11-12
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 查询昨天注册的用户数量
     * @return
     */
    Long findRegisteYesterday();

    /**
     * 获取商户认证数量接口
     * @return
     */
    Long findBusinessYesterday();
}
